#include"client.h"

void main()
{


	// \\\\\\\\\\\  Parametri ////////////
//Sedan ( ch * Transmisie, ch* culoare, ch *navigatie, ch *siguranta, ch *antiderapaj )
//Coupe ( ch * Transmisie, ch *culoare, ch *plafon, ch *jante, int garantie );
//Mini ( ch *Transmisie, ch *culoare, ch *motorizare, char *lungime, float consum )



	try{
		client c1("Popescu",20);
		c1.add_car("manuala","roz","navigatie_LG","airbag_cortina","ESP");//Sedan
		c1.add_car("auto2","alba","rigid","cromate",1);//coupe
		
		c1.afisare();
		cout<<endl<<"\\\\  delete ///"<<endl;

		c1.del_produs("roz");
		c1.afisare();
		cout<<endl<<" \\\\  single ///"<<endl;

		Manager *m1;
		m1= Manager::getInstance();
		m1->add_client("Ionescu",50);
		m1->afisare();

	
	}catch(exceptie* e)
	{
		e->af_eroare();
	}


}